Recipe actions
Used to program recipe management.
DownLoadRecipe
Copy recipe data from HMI device flash memory to the controller (e.g. PLC, local variable, depending on the protocol).
Parameter | Description |
---|---|
RecipeName | Name of recipe to download |
RecipeSet |
Number of recipe set to copy. curSet = download currently selected recipe set |
UpLoadRecipe
Saves recipe data from the controller (e.g. PLC, local variable, depending on the protocol) to the device Flash Memory.
Parameter | Description |
---|---|
RecipeName | Name of recipe to upload |
RecipeSet |
Number of recipe set to copy. curSet = upload currently selected recipe set |
WriteCurrentRecipeSet
Sets the selected recipe as current recipe set.
Parameter | Description |
---|---|
RecipeName | Name of recipe to set as current recipe |
RecipeSet | Recipe set to define as current recipe set |
DownLoadCurRecipe
Downloads current set of recipe data to the controller.
No parameter is required.
UploadCurRecipe
Uploads set of controller data to current recipe set.
No parameter is required
ResetRecipe
Restores factory settings for recipe data. Original recipe data will overwrite uploaded recipes
Select the recipe that you want to reset to factory data.
DumpRecipeData
Dumps recipe data to internal or external storage. Data is saved in .csv format.
Parameter | Description |
---|---|
RecipeName | Name of recipe to dump |
RecipeDataSet |
Select the recipe dataset to dump Not available when RecipeName=AllRecipes. In this case, all datasets are dumped. |
FilePath |
Destination folder
Note: supported formats for external memory are FAT or FAT32 (NTFS format is not supported). Note: Private networks are supported only from Linux devices with BSP 1.0.25 and above. |
FileName |
Tag that specifies a filename. The below wildcards are supported
Example: %r_%d |
DateTimePrefixFileName | true = the dumped file will have date and time as prefix to its name (for example D2012_01_01_T10_10_recipe1.csv) |
TimeSpec |
Time format:
|
KeepCaseSensitivity |
Allow case sensitivity. Only applicable under Linux, other platforms does save in lower case |
RestoreRecipeData
Restores previously saved recipe data.
Parameter | Description |
---|---|
RecipeName |
Recipes to restore:
|
RecipeDataSet |
Available only when RecipeName=CurrentRecipe. Select the data sets to restore:
|
Restore Type |
Available only when RecipeDataSet=AllRecipeDataSet. This parameter define the behavior when the numbers of data sets inside the file to restore is not matching with the data set number inside the HMI device
|
FilePath |
Source folder
Note: supported formats for external memory are FAT or FAT32 (NTFS format is not supported). Note: Private networks are supported only from Linux devices with BSP 1.0.25 and above. |
FileName | Attached tag from which read the file name at runtime. |
BrowseForFile |
true = shows the Open dialog to browse the file to read. false = no dialog is shown, |
AddRecipeDataSet
Adds a new dataset to the selected recipe. The new dataset is appended at the end of the already defined datasets.
Parameter | Description |
---|---|
RecipeName | Recipe where the dataset is added. |
CopyFrom | Dataset from where parameters values are copied from to initialize the new dataset |
NewSetName |
Name of new dataset. Here you can you can use a tag reference. |
DelRecipeDataSet
Deletes a dataset from the selected recipe. Deleting a dataset will rearrange the position number of the datasets that follow.
Parameter | Description |
---|---|
RecipeName | Recipe where the dataset is to be deleted. |
DataSet | Dataset to be deleted. |